package com.ruibang.glass.quality.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @Author: songJinKang
 * @CreateTime: 2023-09-14  10:49
 * @Description: TODO:收包玻璃实体
 * @Version: 1.0
 */
@Data
@TableName("glass_bind_test")
public class GlassBind {

    @ApiModelProperty("冷端id")
    private String oldId;
    @ApiModelProperty("热端id")
    private String newId;
    @ApiModelProperty("端口")
    private String port;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

}
